<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">

    <jsp:include page="${pageContext.request.contextPath}/WEB-INF/views/screen/admin/resource.jsp"/>
</head>

<body>
<div class="layui-collapse">
    <div class="layui-colla-item">
        <h2 class="layui-colla-title">查询栏</h2>
        <div class="layui-colla-content layui-show">
            <form class="layui-form layui-form-pane" id="searchForm" action="">
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">标题</label>
                        <div class="layui-input-inline">
                            <input type="text" name="title" placeholder="请输入" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">创建日期</label>
                        <div class="layui-input-block">
                            <input type="text" name="createTime" id="createTime" placeholder="日期选择" autocomplete="off"
                                   class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <div class="layui-input-block">
                            <button class="layui-btn layui-btn-sm" lay-submit lay-filter="search"><i class="layui-icon">&#xe615;</i>查询
                            </button>
                        </div>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>


<div class="layui-collapse">
    <div class="layui-colla-item">
        <h2 class="layui-colla-title">数据列表</h2>
        <div class="layui-colla-content layui-show">
            <script type="text/html" id="bars">
                <a class="layui-btn layui-btn-xs" lay-event="detail"> 查看</a>
                <%--<a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>--%>
                <%--<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>--%>
            </script>
            <div class="layui-btn-group barTable">
                <shiro:hasPermission name="btn:菜单管理:新增">
                    <button class="layui-btn layui-btn-sm" data-type="barTableAdd"><i class="layui-icon">&#xe654;</i>新增</button>
                </shiro:hasPermission>
                <shiro:hasPermission name="btn:菜单管理:编辑">
                    <button class="layui-btn layui-btn-sm layui-btn-normal" data-type="barTableEdit"><i class="layui-icon">&#xe642;</i>编辑</button>
                </shiro:hasPermission>
                <shiro:hasPermission name="btn:菜单管理:删除">
                    <button class="layui-btn layui-btn-sm  layui-btn-danger" data-type="barTableRemove"><i class="layui-icon">&#xe640;</i>删除</button>
                </shiro:hasPermission>
            </div>
            <table id="dataGrid" lay-filter="dataGrid"></table>
        </div>
    </div>
</div>

</body>

<script src="${pageContext.request.contextPath}/js/ux/sysMenu/sysMenu.js"></script>
</html>

